package com.qr.bean.wmyw;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:26:41
 * 分离出查询实体
 */
@ApiModel(value = "qr_sys_params", description = "系统参数配置")
@TableName(value = "qr_sys_params")
public class QrSysParamsView implements Serializable {
	@ApiModelProperty(value = "自增主键")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "自增主键不能为空")
	private Integer id;
	@ApiModelProperty(value = "父级id")
	@TableField(value="pid")
	private Integer pid;
	@ApiModelProperty(value = "分类名称")
	@TableField(value="class_name")
	private String class_name;
	@ApiModelProperty(value = "分类标识")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "数值参数")
	@TableField(value="number_value")
	private BigDecimal number_value;
	@ApiModelProperty(value = "日期参数")
	@TableField(value="date_value")
	private Date date_value;
	@ApiModelProperty(value = "日期参数")
	@TableField(value="time_value")
	private Timestamp time_value;
	@ApiModelProperty(value = "字符参数")
	@TableField(value="string_value")
	private String string_value;
	@ApiModelProperty(value = "备注")
	@TableField(value="remark")
	private String remark;
	@ApiModelProperty(value = "1=默认 0=非默认")
	@TableField(value="init_default")
	private Integer init_default;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
 
	public String getClass_name() {
		return class_name;
	}
	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public BigDecimal getNumber_value() {
		return number_value;
	}
	public void setNumber_value(BigDecimal number_value) {
		this.number_value = number_value;
	}
 
	public Date getDate_value() {
		return date_value;
	}
	public void setDate_value(Date date_value) {
		this.date_value = date_value;
	}
 
	public Timestamp getTime_value() {
		return time_value;
	}
	public void setTime_value(Timestamp time_value) {
		this.time_value = time_value;
	}
 
	public String getString_value() {
		return string_value;
	}
	public void setString_value(String string_value) {
		this.string_value = string_value;
	}
 
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
 
	public Integer getInit_default() {
		return init_default;
	}
	public void setInit_default(Integer init_default) {
		this.init_default = init_default;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}